<%@ page language="java" contentType="text/html;charset=UTF-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
    <title>通道查询界面</title>
    <link type="text/css" rel="stylesheet" href='<spring:url value="/webjars/bootstrap/3.3.5/css/bootstrap.min.css"/>' />
    <link type="text/css" rel="stylesheet" href='<spring:url value="/webjars/bootstrap/3.3.5/css/bootstrap-theme.min.css"/>' />
    <link type="text/css" rel="stylesheet" href='<spring:url value="/resources/css/content.css"/>'/>
    <script src='<spring:url value="/webjars/jquery/1.11.1/jquery.min.js"/>'></script>
    <script src='<spring:url value="/webjars/bootstrap/3.3.5/js/bootstrap.js"/>'></script>
    <script src='<spring:url value="/webjars/angularjs/1.5.5/angular.min.js"/>'></script>
    <script src='<spring:url value="/webjars/angularjs/1.5.5/angular-resource.js"/>'></script>
    <script src='<spring:url value="/webjars/bootbox/4.4.0/bootbox.js"/>' ></script>
    <script src='<spring:url value="/resources/js/channel/ChannelModel.js"/>'></script>
    <script src='<spring:url value="/resources/js/channel/ChannelController.js"/>'></script>
    <script src='<spring:url value="/resources/js/channel/ChannelService.js"/>'></script>
</head>
<body ng-app="channelApp" ng-controller="channelCtrl">
  <div class="adcc-container" >
      <form class="form-inline" style="float: right;">
          <div class="input-group">
              <ol class="breadcrump" style="padding:0px;margin: auto;">
                  <li class="active" style="list-style: none">刷新时间：</li>
              </ol>
          </div>
          <div class="form-group">
              <select ng-model="selectTime" class="form-control" ng-init="selectTime='30000'"
                      ng-change="changeTime(selectTime)">
                  <option value='15000'>15秒</option>
                  <option value='30000'>30秒</option>
                  <option value='60000'>60秒</option>
              </select>
          </div>
      </form>
      <ol class="breadcrumb">
          <li class="active">MQ管理</li>
          <li class="active">通道</li>
      </ol>
      <table class="table table-bordered table-striped  table-condensed table-hover">
          <thead><tr>
              <th>名称</th>
              <th>类型</th>
              <th>MCA</th>
          </tr></thead>
          <tr ng-repeat="channel in channels">
              <td style="vertical-align: middle;width: 40%">{{channel.name }}</td>
              <td style="vertical-align: middle;width: 40%">{{channel.typeName }}</td>
              <td style="vertical-align: middle;width: 20%">{{channel.userId }}</td>
          </tr>
      </table>
  </div>
</body>
</html>
